#include<bits/stdc++.h>
using namespace std;

int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    int T,n,m;
    cin>>m>>m;
    int tmp;
    while(cin>>tmp){
    }
    cout<<7;
    return 0;
}

